package com.qc.service.impl;

import javax.annotation.Resource;

import org.springframework.stereotype.Service;

import com.qc.dao.BusinessJobDao;
import com.qc.entity.BusinessJob;
import com.qc.service.BusinessJobService;

@Service("businessJobService")
public class BusinessJobServiceImpl implements BusinessJobService{

	@Resource(name="businessJobDao")
	private BusinessJobDao businessJobDao;
	
	@Override
	public BusinessJob getBusinessJobId(long tId) {

		return businessJobDao.getBusinessJobId(tId);
	}

	@Override
	public int saveBusinessJob(BusinessJob businessJob) {

		return businessJobDao.saveBusinessJob(businessJob);
	}

	@Override
	public int deleteBusinessJobId(long tId) {

		return businessJobDao.deleteBusinessJobId(tId);
	}

	@Override
	public int updateBusinessJobId(BusinessJob businessJob) {

		return businessJobDao.updateBusinessJobId(businessJob);
	}

}
